package com.dqx.haoqiu.mvp.common.dagger;

import com.dqx.haoqiu.mvp.common.base.BaseApplication;
import com.dqx.haoqiu.repository.repository.news.NewsRepository;
import com.dqx.haoqiu.repository.repository.user.UserRepository;
import com.xmjs.baselibrary.utils.SP;

import javax.inject.Singleton;

import dagger.Component;

@Singleton
@Component(modules = {AppModule.class})
public interface AppComponent {
    SP sp();

    UserRepository userRepository();

    NewsRepository newsRepository();

    void inject(BaseApplication application);
}
